package com.sp.biz.user;


import com.sp.common.code.MybatisPlusCodeGenerator;

public class CodeGenerator {
    public static void main(String[] args) {
        MybatisPlusCodeGenerator codeGenerator = new MybatisPlusCodeGenerator();

        codeGenerator.DB_URL = "jdbc:mysql://43.139.38.97:3306/scoot?useSSL=false";
        codeGenerator.DB_USER_NAME = "root";
        codeGenerator.DB_PASSWORD = "Xiongxuelin@123";
        codeGenerator.TABLE_PREFIX = new String[] {"SYS"};
        codeGenerator.PACKAGE_PARENT = "com.sp.biz.user";
        codeGenerator.TEMP_DIR = "temp";
        String[] hbTabls ="SYS_ROLE".split(",");
        codeGenerator.INCLUDES = hbTabls;

        try {
            codeGenerator.generateCode();
        }catch (Exception e){

        }
    }
}
